import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const vke: AppRouteModule = {
  path: '/vke',
  name: 'Vke',
  component: LAYOUT,
  redirect: '/vke/studentUser',
  meta: {
    orderNo: 10,
    icon: 'ion:school-outline',
    title: t('routes.vke.moduleName'),
  },
  children: [
    {
      path: 'studentUser',
      name: 'StudentUser',
      component: () => import('/@/views/vke/studentUser/index.vue'),
      meta: {
        title: t('routes.vke.studentUser'),
        icon: 'simple-line-icons:user',
      },
    },
    {
      path: 'exceptionInfo',
      name: 'ExceptionInfo',
      component: () => import('/@/views/vke/exceptionInfo/list.vue'),
      meta: {
        title: t('routes.vke.exceptionInfo'),
        icon: 'simple-line-icons:exclamation',
      },
    },
  ],
};

export default vke;
